<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>webmysql: org.dbcloud.jdbc.Statement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="csmake.v2.100.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">webmysql
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classorg_1_1dbcloud_1_1jdbc_1_1_statement.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classorg_1_1dbcloud_1_1jdbc_1_1_statement-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">org.dbcloud.jdbc.Statement Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for org.dbcloud.jdbc.Statement:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classorg_1_1dbcloud_1_1jdbc_1_1_statement.png" usemap="#org.dbcloud.jdbc.Statement_map" alt=""/>
  <map id="org.dbcloud.jdbc.Statement_map" name="org.dbcloud.jdbc.Statement_map">
<area href="classorg_1_1dbcloud_1_1mysql_1_1_statement.html" alt="org.dbcloud.mysql.Statement" shape="rect" coords="0,56,173,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad492bb1f7296b2d3c43ab2eb25f074ed"><td class="memItemLeft" align="right" valign="top"><a id="ad492bb1f7296b2d3c43ab2eb25f074ed"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Statement</b> (String driverClass, String connection)  throws ClassNotFoundException, SQLException </td></tr>
<tr class="separator:ad492bb1f7296b2d3c43ab2eb25f074ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3122768ff5fa9f092265e826c5f0d5ea"><td class="memItemLeft" align="right" valign="top"><a id="a3122768ff5fa9f092265e826c5f0d5ea"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Statement</b> (String driverClass, String connection, String user, String password)  throws ClassNotFoundException, SQLException </td></tr>
<tr class="separator:a3122768ff5fa9f092265e826c5f0d5ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cc39b497029d7d1b085c507e97e5f72"><td class="memItemLeft" align="right" valign="top"><a id="a2cc39b497029d7d1b085c507e97e5f72"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>csmakeInit</b> (java.util.HashMap&lt; String, String &gt; args)  throws Exception </td></tr>
<tr class="separator:a2cc39b497029d7d1b085c507e97e5f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051e2b3838be606adc522d173d4978f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a051e2b3838be606adc522d173d4978f8">executeQuery</a> (String sql)</td></tr>
<tr class="separator:a051e2b3838be606adc522d173d4978f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af045be947356b43c817c91c32c33ce7b"><td class="memItemLeft" align="right" valign="top"><a id="af045be947356b43c817c91c32c33ce7b"></a>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><b>executeQuery</b> (String sql, Document options)</td></tr>
<tr class="separator:af045be947356b43c817c91c32c33ce7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a005f0da4c3d9beb59caa27fbb6fe02c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a005f0da4c3d9beb59caa27fbb6fe02c3">executeProcedure</a> (String procedureName, Document parameters, Document options)</td></tr>
<tr class="separator:a005f0da4c3d9beb59caa27fbb6fe02c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89f1107e302fe54f9378eca67d7a8cb1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a89f1107e302fe54f9378eca67d7a8cb1">executeUpdate</a> (String sql)  throws SQLException </td></tr>
<tr class="separator:a89f1107e302fe54f9378eca67d7a8cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c2800c99036c308fbc59ec30b77ec4b"><td class="memItemLeft" align="right" valign="top"><a id="a9c2800c99036c308fbc59ec30b77ec4b"></a>
int []&#160;</td><td class="memItemRight" valign="bottom"><b>executeUpdate</b> (String[] sqls)  throws SQLException </td></tr>
<tr class="separator:a9c2800c99036c308fbc59ec30b77ec4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80c2e0e1085aac839151b8872e16993"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#aa80c2e0e1085aac839151b8872e16993">close</a> ()  throws SQLException </td></tr>
<tr class="separator:aa80c2e0e1085aac839151b8872e16993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74ee124d251a1785b5ee72461d992cee"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a74ee124d251a1785b5ee72461d992cee">getMaxFieldSize</a> ()  throws SQLException </td></tr>
<tr class="separator:a74ee124d251a1785b5ee72461d992cee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a266653054fac9255337fba5c1460ae75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a266653054fac9255337fba5c1460ae75">setMaxFieldSize</a> (int max)  throws SQLException </td></tr>
<tr class="separator:a266653054fac9255337fba5c1460ae75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08d8bad6ab34257c4d0a110c36a78616"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a08d8bad6ab34257c4d0a110c36a78616">getMaxRows</a> ()  throws SQLException </td></tr>
<tr class="separator:a08d8bad6ab34257c4d0a110c36a78616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62eea46adeee8609b3e1a47e11aa5870"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a62eea46adeee8609b3e1a47e11aa5870">setMaxRows</a> (int max)  throws SQLException </td></tr>
<tr class="separator:a62eea46adeee8609b3e1a47e11aa5870"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9015df745c62b658704417ff162bf981"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a9015df745c62b658704417ff162bf981">setEscapeProcessing</a> (boolean enable)  throws SQLException </td></tr>
<tr class="separator:a9015df745c62b658704417ff162bf981"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a3a60330f32ae3182494583e4bb18a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a09a3a60330f32ae3182494583e4bb18a">getQueryTimeout</a> ()  throws SQLException </td></tr>
<tr class="separator:a09a3a60330f32ae3182494583e4bb18a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe5aa6911f700fbe2437ac7a62abf507"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> (int seconds)  throws SQLException </td></tr>
<tr class="separator:afe5aa6911f700fbe2437ac7a62abf507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb34cc908e3ce0eb251f82d61172dce8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#adb34cc908e3ce0eb251f82d61172dce8">cancel</a> ()  throws SQLException </td></tr>
<tr class="separator:adb34cc908e3ce0eb251f82d61172dce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d2ec18e122dcc8e7f12b0c561ffab17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a1d2ec18e122dcc8e7f12b0c561ffab17">clearWarnings</a> ()  throws SQLException </td></tr>
<tr class="separator:a1d2ec18e122dcc8e7f12b0c561ffab17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02375dec95831d0c7d2f4879d2502110"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a02375dec95831d0c7d2f4879d2502110">setCursorName</a> (String name)  throws SQLException </td></tr>
<tr class="separator:a02375dec95831d0c7d2f4879d2502110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a087e427a28516cd24605e04e395565b2"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> (String sql)  throws SQLException </td></tr>
<tr class="separator:a087e427a28516cd24605e04e395565b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6667bac80324ee2ea717d7bfeea91723"><td class="memItemLeft" align="right" valign="top"><a id="a6667bac80324ee2ea717d7bfeea91723"></a>
int []&#160;</td><td class="memItemRight" valign="bottom"><b>execute</b> (String[] sqls)  throws SQLException </td></tr>
<tr class="separator:a6667bac80324ee2ea717d7bfeea91723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a359f46332a878d72379bf963e9ee2ffe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a359f46332a878d72379bf963e9ee2ffe">getResultSet</a> ()  throws SQLException </td></tr>
<tr class="separator:a359f46332a878d72379bf963e9ee2ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f7c2079821af1351bcf7d0816c8f92e"><td class="memItemLeft" align="right" valign="top"><a id="a8f7c2079821af1351bcf7d0816c8f92e"></a>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getResultSet</b> (Document options)  throws SQLException </td></tr>
<tr class="separator:a8f7c2079821af1351bcf7d0816c8f92e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0ebb00942f335fd306d6f0e7e8b09c5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a> ()  throws SQLException </td></tr>
<tr class="separator:ac0ebb00942f335fd306d6f0e7e8b09c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43ca3bf24baedb67bf63710ff837f72d"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a> ()  throws SQLException </td></tr>
<tr class="separator:a43ca3bf24baedb67bf63710ff837f72d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63fddc3f05f3ecf12cf3f13a413888ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a63fddc3f05f3ecf12cf3f13a413888ea">setFetchDirection</a> (int direction)  throws SQLException </td></tr>
<tr class="separator:a63fddc3f05f3ecf12cf3f13a413888ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38206e2c79afc6ce964f1b058c20d12f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a38206e2c79afc6ce964f1b058c20d12f">getFetchDirection</a> ()  throws SQLException </td></tr>
<tr class="separator:a38206e2c79afc6ce964f1b058c20d12f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401b7cbfca595b070210b0e8672c2b56"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a401b7cbfca595b070210b0e8672c2b56">setFetchSize</a> (int rows)  throws SQLException </td></tr>
<tr class="separator:a401b7cbfca595b070210b0e8672c2b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37fe1abd43d17fd845faa1925170e99a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a37fe1abd43d17fd845faa1925170e99a">getFetchSize</a> ()  throws SQLException </td></tr>
<tr class="separator:a37fe1abd43d17fd845faa1925170e99a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43715d383be3fb5d2ee030668bfc6221"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43715d383be3fb5d2ee030668bfc6221">getResultSetConcurrency</a> ()  throws SQLException </td></tr>
<tr class="separator:a43715d383be3fb5d2ee030668bfc6221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a743ed7694dd8a9a67b2c23319db6ca3e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a743ed7694dd8a9a67b2c23319db6ca3e">getResultSetType</a> ()  throws SQLException </td></tr>
<tr class="separator:a743ed7694dd8a9a67b2c23319db6ca3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af006516e861bd5dff0e24771dec1abe4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#af006516e861bd5dff0e24771dec1abe4">addBatch</a> (String sql)  throws SQLException </td></tr>
<tr class="separator:af006516e861bd5dff0e24771dec1abe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9427303d199c8b15f023c2e5746f7a03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a9427303d199c8b15f023c2e5746f7a03">clearBatch</a> ()  throws SQLException </td></tr>
<tr class="separator:a9427303d199c8b15f023c2e5746f7a03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83555b48c31cedeff650c3688eb18a98"><td class="memItemLeft" align="right" valign="top">int []&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a83555b48c31cedeff650c3688eb18a98">executeBatch</a> ()  throws SQLException </td></tr>
<tr class="separator:a83555b48c31cedeff650c3688eb18a98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6b2eeae90afbd7fdecf399cda5a9eb"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afb6b2eeae90afbd7fdecf399cda5a9eb">getConnection</a> ()  throws SQLException </td></tr>
<tr class="separator:afb6b2eeae90afbd7fdecf399cda5a9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a982c5f8902932b29d8de9dee0d57e275"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a982c5f8902932b29d8de9dee0d57e275">getMoreResults</a> (int current)  throws SQLException </td></tr>
<tr class="separator:a982c5f8902932b29d8de9dee0d57e275"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512de102a58c6c8de79d0e7c3a1a1586"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a512de102a58c6c8de79d0e7c3a1a1586">getGeneratedKeys</a> ()  throws SQLException </td></tr>
<tr class="separator:a512de102a58c6c8de79d0e7c3a1a1586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a516ec3a8022a58d04e145dd88c830f56"><td class="memItemLeft" align="right" valign="top"><a id="a516ec3a8022a58d04e145dd88c830f56"></a>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getGeneratedKeys</b> (Document options)  throws SQLException </td></tr>
<tr class="separator:a516ec3a8022a58d04e145dd88c830f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6028a45786c2efbddc440852a0afc7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a0e6028a45786c2efbddc440852a0afc7">executeUpdate</a> (String sql, int autoGeneratedKeys)  throws SQLException </td></tr>
<tr class="separator:a0e6028a45786c2efbddc440852a0afc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56b5f32aeed201dc64139f130627215"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ae56b5f32aeed201dc64139f130627215">executeUpdate</a> (String sql, int columnIndexes[])  throws SQLException </td></tr>
<tr class="separator:ae56b5f32aeed201dc64139f130627215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc1d222a53d4503e85fb86a05e7e5985"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afc1d222a53d4503e85fb86a05e7e5985">executeUpdate</a> (String sql, String columnNames[])  throws SQLException </td></tr>
<tr class="separator:afc1d222a53d4503e85fb86a05e7e5985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fc6ab488a578bd789a94108e5c21c9f"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a5fc6ab488a578bd789a94108e5c21c9f">execute</a> (String sql, int autoGeneratedKeys)  throws SQLException </td></tr>
<tr class="separator:a5fc6ab488a578bd789a94108e5c21c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f483314ed5dcbc787a74bb824eb3ad"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a41f483314ed5dcbc787a74bb824eb3ad">execute</a> (String sql, int columnIndexes[])  throws SQLException </td></tr>
<tr class="separator:a41f483314ed5dcbc787a74bb824eb3ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158b6739f9b0b40fa61ebf9e5447fbec"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a158b6739f9b0b40fa61ebf9e5447fbec">execute</a> (String sql, String columnNames[])  throws SQLException </td></tr>
<tr class="separator:a158b6739f9b0b40fa61ebf9e5447fbec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a910dad307d541945796b5c9cc20331f0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a910dad307d541945796b5c9cc20331f0">getResultSetHoldability</a> ()  throws SQLException </td></tr>
<tr class="separator:a910dad307d541945796b5c9cc20331f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a238a99b288bf216e85c15ef4f5146afb"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a238a99b288bf216e85c15ef4f5146afb">isClosed</a> ()  throws SQLException </td></tr>
<tr class="separator:a238a99b288bf216e85c15ef4f5146afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc015a991c336f0edea9e26c0de37027"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#adc015a991c336f0edea9e26c0de37027">setPoolable</a> (boolean poolable)  throws SQLException </td></tr>
<tr class="separator:adc015a991c336f0edea9e26c0de37027"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebe85c4f946f983a1e36b816f999f4a3"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#aebe85c4f946f983a1e36b816f999f4a3">isPoolable</a> ()  throws SQLException </td></tr>
<tr class="separator:aebe85c4f946f983a1e36b816f999f4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8074a7dca69e29eeac5c5db676588b5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a8074a7dca69e29eeac5c5db676588b5f">closeOnCompletion</a> ()  throws SQLException </td></tr>
<tr class="separator:a8074a7dca69e29eeac5c5db676588b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a631da85a6cab87cfac1920fa97df3abd"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a631da85a6cab87cfac1920fa97df3abd">isCloseOnCompletion</a> ()  throws SQLException </td></tr>
<tr class="separator:a631da85a6cab87cfac1920fa97df3abd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dda16f528c3730e94d251457e353956"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a9dda16f528c3730e94d251457e353956">getLargeUpdateCount</a> ()  throws SQLException </td></tr>
<tr class="separator:a9dda16f528c3730e94d251457e353956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a6cb92f183850a7d06973be471e177"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ad9a6cb92f183850a7d06973be471e177">setLargeMaxRows</a> (long max)  throws SQLException </td></tr>
<tr class="separator:ad9a6cb92f183850a7d06973be471e177"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29c2090bbc4b542346d008011a12218b"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a29c2090bbc4b542346d008011a12218b">getLargeMaxRows</a> ()  throws SQLException </td></tr>
<tr class="separator:a29c2090bbc4b542346d008011a12218b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d00ffd335a8da75bf6dc51f4913f88"><td class="memItemLeft" align="right" valign="top">long []&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a04d00ffd335a8da75bf6dc51f4913f88">executeLargeBatch</a> ()  throws SQLException </td></tr>
<tr class="separator:a04d00ffd335a8da75bf6dc51f4913f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9622ab3704dc0ae68738738b32a7a99a"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a9622ab3704dc0ae68738738b32a7a99a">executeLargeUpdate</a> (String sql)  throws SQLException </td></tr>
<tr class="separator:a9622ab3704dc0ae68738738b32a7a99a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a453afff67167062d34d5780538ff0c55"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a453afff67167062d34d5780538ff0c55">executeLargeUpdate</a> (String sql, int autoGeneratedKeys)  throws SQLException </td></tr>
<tr class="separator:a453afff67167062d34d5780538ff0c55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae855b7d395bd60c6072a655c57edb79d"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ae855b7d395bd60c6072a655c57edb79d">executeLargeUpdate</a> (String sql, int columnIndexes[])  throws SQLException </td></tr>
<tr class="separator:ae855b7d395bd60c6072a655c57edb79d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f3dd6a30fbf2994b53876f6cd1c0336"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4f3dd6a30fbf2994b53876f6cd1c0336">executeLargeUpdate</a> (String sql, String columnNames[])  throws SQLException </td></tr>
<tr class="separator:a4f3dd6a30fbf2994b53876f6cd1c0336"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afa7b4b2c3acd383591999842acb0d6c3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afa7b4b2c3acd383591999842acb0d6c3">CLOSE_CURRENT_RESULT</a> = 1</td></tr>
<tr class="separator:afa7b4b2c3acd383591999842acb0d6c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf23cba800d36c519344e01581aedc9f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#acf23cba800d36c519344e01581aedc9f">KEEP_CURRENT_RESULT</a> = 2</td></tr>
<tr class="separator:acf23cba800d36c519344e01581aedc9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffb2fa787f9c6d14484a8d545c4a161"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#abffb2fa787f9c6d14484a8d545c4a161">CLOSE_ALL_RESULTS</a> = 3</td></tr>
<tr class="separator:abffb2fa787f9c6d14484a8d545c4a161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bff6ca86fe1ed08d3a52ade6b1b7240"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a2bff6ca86fe1ed08d3a52ade6b1b7240">SUCCESS_NO_INFO</a> = -2</td></tr>
<tr class="separator:a2bff6ca86fe1ed08d3a52ade6b1b7240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfa84224f98ccf395c3568a0f882eb35"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#acfa84224f98ccf395c3568a0f882eb35">EXECUTE_FAILED</a> = -3</td></tr>
<tr class="separator:acfa84224f98ccf395c3568a0f882eb35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348a9c2612c65ebc810d3f043f382766"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">RETURN_GENERATED_KEYS</a> = 1</td></tr>
<tr class="separator:a348a9c2612c65ebc810d3f043f382766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e6170daf48535ddaff70a77c701acdc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4e6170daf48535ddaff70a77c701acdc">NO_GENERATED_KEYS</a> = 2</td></tr>
<tr class="separator:a4e6170daf48535ddaff70a77c701acdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The object used for executing a static SQL statement and returning the results it produces. </p>
<p>By default, only one <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object per <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object can be open at the same time. Therefore, if the reading of one <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object is interleaved with the reading of another, each must have been generated by different <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> objects. All execution methods in the <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> interface implicitly close a current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object of the statement if an open one exists.</p>
<dl class="section see"><dt>See also</dt><dd>Connection::createStatement </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00036">36</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af006516e861bd5dff0e24771dec1abe4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af006516e861bd5dff0e24771dec1abe4">&#9670;&nbsp;</a></span>addBatch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.addBatch </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the given SQL command to the current list of commands for this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. The commands in this list can be executed as a batch by calling the method <code>executeBatch</code>. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>typically this is a SQL <code>INSERT</code> or <code>UPDATE</code> statement </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the driver does not support batch updates, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a83555b48c31cedeff650c3688eb18a98">executeBatch</a> </dd>
<dd>
DatabaseMetaData::supportsBatchUpdates </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00887">887</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="adb34cc908e3ce0eb251f82d61172dce8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb34cc908e3ce0eb251f82d61172dce8">&#9670;&nbsp;</a></span>cancel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.cancel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cancels this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object if both the DBMS and driver support aborting an SQL statement. This method can be used by one thread to cancel a statement that is being executed by another thread.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00585">585</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a9427303d199c8b15f023c2e5746f7a03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9427303d199c8b15f023c2e5746f7a03">&#9670;&nbsp;</a></span>clearBatch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.clearBatch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Empties this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object's current list of SQL commands. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the driver does not support batch updates </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#af006516e861bd5dff0e24771dec1abe4">addBatch</a> </dd>
<dd>
DatabaseMetaData::supportsBatchUpdates </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00902">902</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a1d2ec18e122dcc8e7f12b0c561ffab17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d2ec18e122dcc8e7f12b0c561ffab17">&#9670;&nbsp;</a></span>clearWarnings()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.clearWarnings </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clears all the warnings reported on this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. After a call to this method, the method <code>getWarnings</code> will return <code>null</code> until a new warning is reported for this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00624">624</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="aa80c2e0e1085aac839151b8872e16993"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa80c2e0e1085aac839151b8872e16993">&#9670;&nbsp;</a></span>close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Releases this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object's database and <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> resources immediately instead of waiting for this to happen when it is automatically closed. It is generally good practice to release resources as soon as you are finished with them to avoid tying up database resources. </p>
<p>Calling the method <code>close</code> on a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object that is already closed has no effect. </p>
<p><b>Note:</b>When a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object is closed, its current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, if one exists, is also closed.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00423">423</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a8074a7dca69e29eeac5c5db676588b5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8074a7dca69e29eeac5c5db676588b5f">&#9670;&nbsp;</a></span>closeOnCompletion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.closeOnCompletion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies that this</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> will be closed when all its dependent result sets are closed. If execution of the</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> does not produce any result sets, this method has no effect. </p>
<p><b>Note:</b> Multiple calls to</p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a8074a7dca69e29eeac5c5db676588b5f">closeOnCompletion</a> </div></div><!-- fragment --><p> do not toggle the effect on this</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> . However, a call to </p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a8074a7dca69e29eeac5c5db676588b5f">closeOnCompletion</a> </div></div><!-- fragment --><p> does effect both the subsequent execution of statements, and statements that currently have open, dependent, result sets.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if this method is called on a closed <div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.7 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01465">1465</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a087e427a28516cd24605e04e395565b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a087e427a28516cd24605e04e395565b2">&#9670;&nbsp;</a></span>execute() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.execute </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may return multiple results. In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string. </p>
<p>The <code>execute</code> method executes an SQL statement and indicates the form of the first result. You must then use the methods <code>getResultSet</code> or <code>getUpdateCount</code> to retrieve the result, and <code>getMoreResults</code> to move to any subsequent result(s). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>any SQL statement </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the first result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a359f46332a878d72379bf963e9ee2ffe">getResultSet</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00688">688</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a5fc6ab488a578bd789a94108e5c21c9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fc6ab488a578bd789a94108e5c21c9f">&#9670;&nbsp;</a></span>execute() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.execute </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>autoGeneratedKeys</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may return multiple results, and signals the driver that any auto-generated keys should be made available for retrieval. The driver will ignore this signal if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string. </p>
<p>The <code>execute</code> method executes an SQL statement and indicates the form of the first result. You must then use the methods <code>getResultSet</code> or <code>getUpdateCount</code> to retrieve the result, and <code>getMoreResults</code> to move to any subsequent result(s). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>any SQL statement </td></tr>
    <tr><td class="paramname">autoGeneratedKeys</td><td>a constant indicating whether auto-generated keys should be made available for retrieval using the method <code>getGeneratedKeys</code>; one of the following constants: <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a></code> or <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4e6170daf48535ddaff70a77c701acdc">Statement.NO_GENERATED_KEYS</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the first result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the second parameter supplied to this method is not <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a></code> or <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4e6170daf48535ddaff70a77c701acdc">Statement.NO_GENERATED_KEYS</a></code>, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method with a constant of <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a359f46332a878d72379bf963e9ee2ffe">getResultSet</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a512de102a58c6c8de79d0e7c3a1a1586">getGeneratedKeys</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01264">1264</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a41f483314ed5dcbc787a74bb824eb3ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41f483314ed5dcbc787a74bb824eb3ad">&#9670;&nbsp;</a></span>execute() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.execute </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>columnIndexes</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the indexes of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>Under some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string. </p>
<p>The <code>execute</code> method executes an SQL statement and indicates the form of the first result. You must then use the methods <code>getResultSet</code> or <code>getUpdateCount</code> to retrieve the result, and <code>getMoreResults</code> to move to any subsequent result(s). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>any SQL statement </td></tr>
    <tr><td class="paramname">columnIndexes</td><td>an array of the indexes of the columns in the inserted row that should be made available for retrieval by a call to the method <code>getGeneratedKeys</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the first result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the elements in the <code>int</code> array passed to this method are not valid column indexes, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a359f46332a878d72379bf963e9ee2ffe">getResultSet</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01317">1317</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a158b6739f9b0b40fa61ebf9e5447fbec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a158b6739f9b0b40fa61ebf9e5447fbec">&#9670;&nbsp;</a></span>execute() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.execute </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>columnNames</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the names of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string. </p>
<p>The <code>execute</code> method executes an SQL statement and indicates the form of the first result. You must then use the methods <code>getResultSet</code> or <code>getUpdateCount</code> to retrieve the result, and <code>getMoreResults</code> to move to any subsequent result(s). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>any SQL statement </td></tr>
    <tr><td class="paramname">columnNames</td><td>an array of the names of the columns in the inserted row that should be made available for retrieval by a call to the method <code>getGeneratedKeys</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the next result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>,the elements of the <code>String</code> array passed to this method are not valid column names, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a359f46332a878d72379bf963e9ee2ffe">getResultSet</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a> </dd>
<dd>
<a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a512de102a58c6c8de79d0e7c3a1a1586">getGeneratedKeys</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01370">1370</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a83555b48c31cedeff650c3688eb18a98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83555b48c31cedeff650c3688eb18a98">&#9670;&nbsp;</a></span>executeBatch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int [] org.dbcloud.jdbc.Statement.executeBatch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. The <code>int</code> elements of the array that is returned are ordered to correspond to the commands in the batch, which are ordered according to the order in which they were added to the batch. The elements in the array returned by the method <code>executeBatch</code> may be one of the following: </p><ol>
<li>
A number greater than or equal to zero &ndash; indicates that the command was processed successfully and is an update count giving the number of rows in the database that were affected by the command's execution </li>
<li>
<p class="startli">A value of <code>SUCCESS_NO_INFO</code> &ndash; indicates that the command was processed successfully but that the number of rows affected is unknown </p>
<p>If one of the commands in a batch update fails to execute properly, this method throws a <code>BatchUpdateException</code>, and a <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver may or may not continue to process the remaining commands in the batch. However, the driver's behavior must be consistent with a particular DBMS, either always continuing to process commands or never continuing to process commands. If the driver continues processing after a failure, the array returned by the method <code>BatchUpdateException.getUpdateCounts</code> will contain as many elements as there are commands in the batch, and at least one of the elements will be the following:</p>
<p class="endli"></p>
</li>
<li>
A value of <code>EXECUTE_FAILED</code> &ndash; indicates that the command failed to execute successfully and occurs only if a driver continues to process commands after a command fails </li>
</ol>
<p>The possible implementations and return values have been modified in the Java 2 SDK, Standard Edition, version 1.3 to accommodate the option of continuing to process commands in a batch update after a <code>BatchUpdateException</code> object has been thrown.</p>
<dl class="section return"><dt>Returns</dt><dd>an array of update counts containing one element for each command in the batch. The elements of the array are ordered according to the order in which commands were added to the batch. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the driver does not support batch statements. Throws <a class="el" href="">BatchUpdateException</a> (a subclass of <code>SQLException</code>) if one of the commands sent to the database fails to execute properly or attempts to return a result set. </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#af006516e861bd5dff0e24771dec1abe4">addBatch</a> </dd>
<dd>
DatabaseMetaData::supportsBatchUpdates </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00960">960</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a04d00ffd335a8da75bf6dc51f4913f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04d00ffd335a8da75bf6dc51f4913f88">&#9670;&nbsp;</a></span>executeLargeBatch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long [] org.dbcloud.jdbc.Statement.executeLargeBatch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. The <code>long</code> elements of the array that is returned are ordered to correspond to the commands in the batch, which are ordered according to the order in which they were added to the batch. The elements in the array returned by the method</p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a04d00ffd335a8da75bf6dc51f4913f88">executeLargeBatch</a> </div></div><!-- fragment --><p> may be one of the following: </p><ol>
<li>
A number greater than or equal to zero &ndash; indicates that the command was processed successfully and is an update count giving the number of rows in the database that were affected by the command's execution </li>
<li>
<p class="startli">A value of <code>SUCCESS_NO_INFO</code> &ndash; indicates that the command was processed successfully but that the number of rows affected is unknown </p>
<p>If one of the commands in a batch update fails to execute properly, this method throws a <code>BatchUpdateException</code>, and a <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver may or may not continue to process the remaining commands in the batch. However, the driver's behavior must be consistent with a particular DBMS, either always continuing to process commands or never continuing to process commands. If the driver continues processing after a failure, the array returned by the method <code>BatchUpdateException.getLargeUpdateCounts</code> will contain as many elements as there are commands in the batch, and at least one of the elements will be the following:</p>
<p class="endli"></p>
</li>
<li>
A value of <code>EXECUTE_FAILED</code> &ndash; indicates that the command failed to execute successfully and occurs only if a driver continues to process commands after a command fails </li>
</ol>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">UnsupportedOperationException </div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>an array of update counts containing one element for each command in the batch. The elements of the array are ordered according to the order in which commands were added to the batch. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the driver does not support batch statements. Throws <a class="el" href="">BatchUpdateException</a> (a subclass of <code>SQLException</code>) if one of the commands sent to the database fails to execute properly or attempts to return a result set. </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#af006516e861bd5dff0e24771dec1abe4">addBatch</a> </dd>
<dd>
DatabaseMetaData::supportsBatchUpdates </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01606">1606</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a9622ab3704dc0ae68738738b32a7a99a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9622ab3704dc0ae68738738b32a7a99a">&#9670;&nbsp;</a></span>executeLargeUpdate() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.executeLargeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may be an <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code> statement or an SQL statement that returns nothing, such as an SQL DDL statement. </p>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">UnsupportedOperationException </div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the given SQL statement produces a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01641">1641</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a453afff67167062d34d5780538ff0c55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a453afff67167062d34d5780538ff0c55">&#9670;&nbsp;</a></span>executeLargeUpdate() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.executeLargeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>autoGeneratedKeys</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver with the given flag about whether the auto-generated keys produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object should be made available for retrieval. The driver will ignore the flag if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">SQLFeatureNotSupportedException </div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
    <tr><td class="paramname">autoGeneratedKeys</td><td>a flag indicating whether auto-generated keys should be made available for retrieval; one of the following constants: <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a></code> <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4e6170daf48535ddaff70a77c701acdc">Statement.NO_GENERATED_KEYS</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the given SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the given constant is not one of those allowed, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method with a constant of <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01686">1686</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="ae855b7d395bd60c6072a655c57edb79d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae855b7d395bd60c6072a655c57edb79d">&#9670;&nbsp;</a></span>executeLargeUpdate() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.executeLargeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>columnIndexes</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the indexes of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">SQLFeatureNotSupportedException </div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
    <tr><td class="paramname">columnIndexes</td><td>an array of column indexes indicating the columns that should be returned from the inserted row </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object,the second argument supplied to this method is not an <code>int</code> array whose elements are valid column indexes, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01732">1732</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a4f3dd6a30fbf2994b53876f6cd1c0336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f3dd6a30fbf2994b53876f6cd1c0336">&#9670;&nbsp;</a></span>executeLargeUpdate() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.executeLargeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>columnNames</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the names of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">SQLFeatureNotSupportedException </div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement. </td></tr>
    <tr><td class="paramname">columnNames</td><td>an array of the names of the columns that should be returned from the inserted row </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either the row count for <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code> statements, or 0 for SQL statements that return nothing </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the second argument supplied to this method is not a <code>String</code> array whose elements are valid column names, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01776">1776</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a005f0da4c3d9beb59caa27fbb6fe02c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a005f0da4c3d9beb59caa27fbb6fe02c3">&#9670;&nbsp;</a></span>executeProcedure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a> org.dbcloud.jdbc.Statement.executeProcedure </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>procedureName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Document&#160;</td>
          <td class="paramname"><em>parameters</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Document&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>执行存储过程</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">procedureName</td><td>存储过程名称 </td></tr>
    <tr><td class="paramname">parameters</td><td>存储过程参数 Document{ParameterName: ,Document{Direction: ,SqlType: ,Value: ,OutValue: }} ParameterName:参数名称，Direction：标识输入输出参数(in,out),SqlType:参数类型(java.sql.Types) Value:参数值，OutValue:输出参数值 </td></tr>
    <tr><td class="paramname">options</td><td>{"document": (true or false)}"document:true"返回结果中"rows":[{ ... },{...}],"document:false"返回结果中"rows":[[...],[...]] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>返回Document内容：存储过程返回的结果 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00243">243</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a051e2b3838be606adc522d173d4978f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a051e2b3838be606adc522d173d4978f8">&#9670;&nbsp;</a></span>executeQuery()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a> org.dbcloud.jdbc.Statement.executeQuery </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which returns a single <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL statement to be sent to the database, typically a static SQL <code>SELECT</code> statement </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object that contains the data produced by the given query; never <code>null</code> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the given SQL statement produces anything other than a single <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00172">172</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a89f1107e302fe54f9378eca67d7a8cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89f1107e302fe54f9378eca67d7a8cb1">&#9670;&nbsp;</a></span>executeUpdate() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.executeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement, which may be an <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code> statement or an SQL statement that returns nothing, such as an SQL DDL statement. </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the given SQL statement produces a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00397">397</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a0e6028a45786c2efbddc440852a0afc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e6028a45786c2efbddc440852a0afc7">&#9670;&nbsp;</a></span>executeUpdate() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.executeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>autoGeneratedKeys</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver with the given flag about whether the auto-generated keys produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object should be made available for retrieval. The driver will ignore the flag if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
    <tr><td class="paramname">autoGeneratedKeys</td><td>a flag indicating whether auto-generated keys should be made available for retrieval; one of the following constants: <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a></code> <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a4e6170daf48535ddaff70a77c701acdc">Statement.NO_GENERATED_KEYS</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the given SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the given constant is not one of those allowed, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method with a constant of <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a348a9c2612c65ebc810d3f043f382766">Statement.RETURN_GENERATED_KEYS</a> </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01139">1139</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="ae56b5f32aeed201dc64139f130627215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae56b5f32aeed201dc64139f130627215">&#9670;&nbsp;</a></span>executeUpdate() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.executeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>columnIndexes</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the indexes of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement.</td></tr>
    <tr><td class="paramname">columnIndexes</td><td>an array of column indexes indicating the columns that should be returned from the inserted row </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object,the second argument supplied to this method is not an <code>int</code> array whose elements are valid column indexes, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01174">1174</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="afc1d222a53d4503e85fb86a05e7e5985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc1d222a53d4503e85fb86a05e7e5985">&#9670;&nbsp;</a></span>executeUpdate() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.executeUpdate </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>columnNames</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval. This array contains the names of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the SQL statement is not an <code>INSERT</code> statement, or an SQL statement able to return auto-generated keys (the list of such statements is vendor-specific). </p>
<p><b>Note:</b>This method cannot be called on a <code>PreparedStatement</code> or <code>CallableStatement</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or <code>DELETE</code>; or an SQL statement that returns nothing, such as a DDL statement. </td></tr>
    <tr><td class="paramname">columnNames</td><td>an array of the names of the columns that should be returned from the inserted row </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>either the row count for <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code> statements, or 0 for SQL statements that return nothing </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>, the SQL statement returns a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, the second argument supplied to this method is not a <code>String</code> array whose elements are valid column names, the method is called on a <code>PreparedStatement</code> or <code>CallableStatement</code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
    <tr><td class="paramname">SQLTimeoutException</td><td>when the driver has determined that the timeout value that was specified by the<div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </div></div><!-- fragment --> method has been exceeded and has at least attempted to cancel the currently running<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01212">1212</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="afb6b2eeae90afbd7fdecf399cda5a9eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb6b2eeae90afbd7fdecf399cda5a9eb">&#9670;&nbsp;</a></span>getConnection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String org.dbcloud.jdbc.Statement.getConnection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the <code>Connection</code> object that produced this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<dl class="section return"><dt>Returns</dt><dd>the connection that produced this statement </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00973">973</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a38206e2c79afc6ce964f1b058c20d12f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38206e2c79afc6ce964f1b058c20d12f">&#9670;&nbsp;</a></span>getFetchDirection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getFetchDirection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. If this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object has not set a fetch direction by calling the method <code>setFetchDirection</code>, the return value is implementation-specific.</p>
<dl class="section return"><dt>Returns</dt><dd>the default fetch direction for result sets generated from this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a63fddc3f05f3ecf12cf3f13a413888ea">setFetchDirection</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00800">800</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a37fe1abd43d17fd845faa1925170e99a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37fe1abd43d17fd845faa1925170e99a">&#9670;&nbsp;</a></span>getFetchSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getFetchSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the number of result set rows that is the default fetch size for <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects generated from this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. If this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object has not set a fetch size by calling the method <code>setFetchSize</code>, the return value is implementation-specific.</p>
<dl class="section return"><dt>Returns</dt><dd>the default fetch size for result sets generated from this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a401b7cbfca595b070210b0e8672c2b56">setFetchSize</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00836">836</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a512de102a58c6c8de79d0e7c3a1a1586"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a512de102a58c6c8de79d0e7c3a1a1586">&#9670;&nbsp;</a></span>getGeneratedKeys()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a> org.dbcloud.jdbc.Statement.getGeneratedKeys </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves any auto-generated keys created as a result of executing this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. If this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object did not generate any keys, an empty <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object is returned.</p>
<p><b>Note:</b>If the columns which represent the auto-generated keys were not specified, the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver implementation will determine the columns which best represent the auto-generated keys.</p>
<dl class="section return"><dt>Returns</dt><dd>a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object containing the auto-generated key(s) generated by the execution of this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01092">1092</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a29c2090bbc4b542346d008011a12218b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29c2090bbc4b542346d008011a12218b">&#9670;&nbsp;</a></span>getLargeMaxRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.getLargeMaxRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the maximum number of rows that a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object can contain. If this limit is exceeded, the excess rows are silently dropped. </p>
<p>This method should be used when the returned row limit may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p>The default implementation will return</p><div class="fragment"><div class="line">0 </div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>the current maximum number of rows for a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object; zero means there is no limit </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a62eea46adeee8609b3e1a47e11aa5870">setMaxRows</a> </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01547">1547</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a9dda16f528c3730e94d251457e353956"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dda16f528c3730e94d251457e353956">&#9670;&nbsp;</a></span>getLargeUpdateCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long org.dbcloud.jdbc.Statement.getLargeUpdateCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the current result as an update count; if the result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object or there are no more results, -1 is returned. This method should be called only once per result. </p>
<p>This method should be used when the returned row count may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">UnsupportedOperationException </div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>the current result as an update count; -1 if the current result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01502">1502</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a74ee124d251a1785b5ee72461d992cee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74ee124d251a1785b5ee72461d992cee">&#9670;&nbsp;</a></span>getMaxFieldSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getMaxFieldSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the maximum number of bytes that can be returned for character and binary column values in a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. This limit applies only to <code>BINARY</code>, <code>VARBINARY</code>, <code>LONGVARBINARY</code>, <code>CHAR</code>, <code>VARCHAR</code>, <code>NCHAR</code>, <code>NVARCHAR</code>, <code>LONGNVARCHAR</code> and <code>LONGVARCHAR</code> columns. If the limit is exceeded, the excess data is silently discarded.</p>
<dl class="section return"><dt>Returns</dt><dd>the current column size limit for columns storing character and binary values; zero means there is no limit </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a266653054fac9255337fba5c1460ae75">setMaxFieldSize</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00445">445</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a08d8bad6ab34257c4d0a110c36a78616"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08d8bad6ab34257c4d0a110c36a78616">&#9670;&nbsp;</a></span>getMaxRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getMaxRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the maximum number of rows that a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object can contain. If this limit is exceeded, the excess rows are silently dropped.</p>
<dl class="section return"><dt>Returns</dt><dd>the current maximum number of rows for a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object; zero means there is no limit </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a62eea46adeee8609b3e1a47e11aa5870">setMaxRows</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00484">484</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a43ca3bf24baedb67bf63710ff837f72d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43ca3bf24baedb67bf63710ff837f72d">&#9670;&nbsp;</a></span>getMoreResults() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.getMoreResults </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves to this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object's next result, returns <code>true</code> if it is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object, and implicitly closes any current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object(s) obtained with the method <code>getResultSet</code>.</p>
<p>There are no more results when the following is true: </p><pre><div class="fragment"><div class="line"><span class="comment">// stmt is a Statement object</span></div><div class="line">((stmt.<a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a>() == <span class="keyword">false</span>) &amp;&amp; (stmt.<a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a>() == -1))</div></div><!-- fragment --> </pre><dl class="section return"><dt>Returns</dt><dd><code>true</code> if the next result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00758">758</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a982c5f8902932b29d8de9dee0d57e275"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a982c5f8902932b29d8de9dee0d57e275">&#9670;&nbsp;</a></span>getMoreResults() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.getMoreResults </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>current</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves to this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object's next result, deals with any current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object(s) according to the instructions specified by the given flag, and returns <code>true</code> if the next result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object.</p>
<p>There are no more results when the following is true: </p><pre><div class="fragment"><div class="line"><span class="comment">// stmt is a Statement object</span></div><div class="line">((stmt.<a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a43ca3bf24baedb67bf63710ff837f72d">getMoreResults</a>(current) == <span class="keyword">false</span>) &amp;&amp; (stmt.<a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#ac0ebb00942f335fd306d6f0e7e8b09c5">getUpdateCount</a>() == -1))</div></div><!-- fragment --> </pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">current</td><td>one of the following <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> constants indicating what should happen to current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects obtained using the method <code>getResultSet</code>: <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afa7b4b2c3acd383591999842acb0d6c3">Statement.CLOSE_CURRENT_RESULT</a></code>, <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#acf23cba800d36c519344e01581aedc9f">Statement.KEEP_CURRENT_RESULT</a></code>, or <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#abffb2fa787f9c6d14484a8d545c4a161">Statement.CLOSE_ALL_RESULTS</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the next result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object; <code>false</code> if it is an update count or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the argument supplied is not one of the following: <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afa7b4b2c3acd383591999842acb0d6c3">Statement.CLOSE_CURRENT_RESULT</a></code>, <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#acf23cba800d36c519344e01581aedc9f">Statement.KEEP_CURRENT_RESULT</a></code> or <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#abffb2fa787f9c6d14484a8d545c4a161">Statement.CLOSE_ALL_RESULTS</a></code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if <code>DatabaseMetaData.supportsMultipleOpenResults</code> returns <code>false</code> and either <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#acf23cba800d36c519344e01581aedc9f">Statement.KEEP_CURRENT_RESULT</a></code> or <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#abffb2fa787f9c6d14484a8d545c4a161">Statement.CLOSE_ALL_RESULTS</a></code> are supplied as the argument. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01069">1069</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a09a3a60330f32ae3182494583e4bb18a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09a3a60330f32ae3182494583e4bb18a">&#9670;&nbsp;</a></span>getQueryTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getQueryTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the number of seconds the driver will wait for a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object to execute. If the limit is exceeded, a <code>SQLException</code> is thrown.</p>
<dl class="section return"><dt>Returns</dt><dd>the current query timeout limit in seconds; zero means there is no limit </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#afe5aa6911f700fbe2437ac7a62abf507">setQueryTimeout</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00541">541</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a359f46332a878d72379bf963e9ee2ffe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a359f46332a878d72379bf963e9ee2ffe">&#9670;&nbsp;</a></span>getResultSet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">org.dbcloud.jdbc.ResultSet</a> org.dbcloud.jdbc.Statement.getResultSet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the current result as a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object. This method should be called only once per result.</p>
<dl class="section return"><dt>Returns</dt><dd>the current result as a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object or <code>null</code> if the result is an update count or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00711">711</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a43715d383be3fb5d2ee030668bfc6221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43715d383be3fb5d2ee030668bfc6221">&#9670;&nbsp;</a></span>getResultSetConcurrency()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getResultSetConcurrency </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the result set concurrency for <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<dl class="section return"><dt>Returns</dt><dd>either <code>ResultSet.CONCUR_READ_ONLY</code> or <code>ResultSet.CONCUR_UPDATABLE</code> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00850">850</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a910dad307d541945796b5c9cc20331f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a910dad307d541945796b5c9cc20331f0">&#9670;&nbsp;</a></span>getResultSetHoldability()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getResultSetHoldability </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the result set holdability for <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<dl class="section return"><dt>Returns</dt><dd>either <code>ResultSet.HOLD_CURSORS_OVER_COMMIT</code> or <code>ResultSet.CLOSE_CURSORS_AT_COMMIT</code> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code></td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01385">1385</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a743ed7694dd8a9a67b2c23319db6ca3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a743ed7694dd8a9a67b2c23319db6ca3e">&#9670;&nbsp;</a></span>getResultSetType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getResultSetType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the result set type for <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<dl class="section return"><dt>Returns</dt><dd>one of <code>ResultSet.TYPE_FORWARD_ONLY</code>, <code>ResultSet.TYPE_SCROLL_INSENSITIVE</code>, or <code>ResultSet.TYPE_SCROLL_SENSITIVE</code> </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00865">865</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="ac0ebb00942f335fd306d6f0e7e8b09c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0ebb00942f335fd306d6f0e7e8b09c5">&#9670;&nbsp;</a></span>getUpdateCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.getUpdateCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves the current result as an update count; if the result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object or there are no more results, -1 is returned. This method should be called only once per result.</p>
<dl class="section return"><dt>Returns</dt><dd>the current result as an update count; -1 if the current result is a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object or there are no more results </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a087e427a28516cd24605e04e395565b2">execute</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00734">734</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a238a99b288bf216e85c15ef4f5146afb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a238a99b288bf216e85c15ef4f5146afb">&#9670;&nbsp;</a></span>isClosed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.isClosed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieves whether this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object has been closed. A <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> is closed if the method close has been called on it, or if it is automatically closed.</p>
<dl class="section return"><dt>Returns</dt><dd>true if this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object is closed; false if it is still open </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01399">1399</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a631da85a6cab87cfac1920fa97df3abd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a631da85a6cab87cfac1920fa97df3abd">&#9670;&nbsp;</a></span>isCloseOnCompletion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.isCloseOnCompletion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a value indicating whether this</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> will be closed when all its dependent result sets are closed.</p>
<dl class="section return"><dt>Returns</dt><dd><div class="fragment"><div class="line"><span class="keyword">true</span> </div></div><!-- fragment --> if the<div class="fragment"><div class="line">Statement </div></div><!-- fragment --> will be closed when all of its dependent result sets are closed;<div class="fragment"><div class="line"><span class="keyword">false</span> </div></div><!-- fragment --> otherwise </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if this method is called on a closed <div class="fragment"><div class="line">Statement </div></div><!-- fragment --> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.7 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01479">1479</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="aebe85c4f946f983a1e36b816f999f4a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebe85c4f946f983a1e36b816f999f4a3">&#9670;&nbsp;</a></span>isPoolable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean org.dbcloud.jdbc.Statement.isPoolable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a value indicating whether the <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> is poolable or not. </p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> is poolable; <code>false</code> otherwise </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>
<dl class="section see"><dt>See also</dt><dd>java.sql.Statement::setPoolable(boolean) <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#adc015a991c336f0edea9e26c0de37027">setPoolable(boolean)</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01444">1444</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a02375dec95831d0c7d2f4879d2502110"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02375dec95831d0c7d2f4879d2502110">&#9670;&nbsp;</a></span>setCursorName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setCursorName </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the SQL cursor name to the given <code>String</code>, which will be used by subsequent <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object <code>execute</code> methods. This name can then be used in SQL positioned update or delete statements to identify the current row in the <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object generated by this statement. If the database does not support positioned update/delete, this method is a noop. To insure that a cursor has the proper isolation level to support updates, the cursor's <code>SELECT</code> statement should have the form <code>SELECT FOR UPDATE</code>. If <code>FOR UPDATE</code> is not present, positioned updates may fail.</p>
<p><b>Note:</b> By definition, the execution of positioned updates and deletes must be done by a different <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object than the one that generated the <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object being used for positioning. Also, cursor names must be unique within a connection.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the new cursor name, which must be unique within a connection </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
    <tr><td class="paramname">SQLFeatureNotSupportedException</td><td>if the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver does not support this method </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00652">652</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a9015df745c62b658704417ff162bf981"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9015df745c62b658704417ff162bf981">&#9670;&nbsp;</a></span>setEscapeProcessing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setEscapeProcessing </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets escape processing on or off. If escape scanning is on (the default), the driver will do escape substitution before sending the SQL statement to the database. </p>
<p>The</p><div class="fragment"><div class="line">Connection </div></div><!-- fragment --><p> and</p><div class="fragment"><div class="line">DataSource </div></div><!-- fragment --><p> property </p><div class="fragment"><div class="line">escapeProcessing </div></div><!-- fragment --><p> may be used to change the default escape processing behavior. A value of true (the default) enables escape Processing for all</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> objects. A value of false disables escape processing for all</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> objects. The </p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a9015df745c62b658704417ff162bf981">setEscapeProcessing</a> </div></div><!-- fragment --><p> method may be used to specify the escape processing behavior for an individual</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> object. </p>
<p>Note: Since prepared statements have usually been parsed prior to making this call, disabling escape processing for <code>PreparedStatements</code> objects will have no effect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td><code>true</code> to enable escape processing; <code>false</code> to disable it </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs or this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00526">526</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a63fddc3f05f3ecf12cf3f13a413888ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63fddc3f05f3ecf12cf3f13a413888ea">&#9670;&nbsp;</a></span>setFetchDirection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setFetchDirection </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>direction</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gives the driver a hint as to the direction in which rows will be processed in <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects created using this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. The default value is <code>ResultSet.FETCH_FORWARD</code>. </p>
<p>Note that this method sets the default fetch direction for result sets generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object. Each result set has its own methods for getting and setting its own fetch direction.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">direction</td><td>the initial direction for processing rows </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the given direction is not one of <code>ResultSet.FETCH_FORWARD</code>, <code>ResultSet.FETCH_REVERSE</code>, or <code>ResultSet.FETCH_UNKNOWN</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a38206e2c79afc6ce964f1b058c20d12f">getFetchDirection</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00782">782</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a401b7cbfca595b070210b0e8672c2b56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a401b7cbfca595b070210b0e8672c2b56">&#9670;&nbsp;</a></span>setFetchSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setFetchSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gives the <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver a hint as to the number of rows that should be fetched from the database when more rows are needed for <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code>. If the value specified is zero, then the hint is ignored. The default value is zero.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rows</td><td>the number of rows to fetch </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the condition <div class="fragment"><div class="line">rows &gt;= 0 </div></div><!-- fragment --> is not satisfied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a37fe1abd43d17fd845faa1925170e99a">getFetchSize</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00818">818</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="ad9a6cb92f183850a7d06973be471e177"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9a6cb92f183850a7d06973be471e177">&#9670;&nbsp;</a></span>setLargeMaxRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setLargeMaxRows </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the limit for the maximum number of rows that any <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object can contain to the given number. If the limit is exceeded, the excess rows are silently dropped. </p>
<p>This method should be used when the row limit may exceed <a class="el" href="">Integer#MAX_VALUE</a>. </p>
<p>The default implementation will throw </p><div class="fragment"><div class="line">UnsupportedOperationException </div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>the new max rows limit; zero means there is no limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the condition <div class="fragment"><div class="line">max &gt;= 0 </div></div><!-- fragment --> is not satisfied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a08d8bad6ab34257c4d0a110c36a78616">getMaxRows</a> </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01525">1525</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a266653054fac9255337fba5c1460ae75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a266653054fac9255337fba5c1460ae75">&#9670;&nbsp;</a></span>setMaxFieldSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setMaxFieldSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the limit for the maximum number of bytes that can be returned for character and binary column values in a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object produced by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object.</p>
<p>This limit applies only to <code>BINARY</code>, <code>VARBINARY</code>, <code>LONGVARBINARY</code>, <code>CHAR</code>, <code>VARCHAR</code>, <code>NCHAR</code>, <code>NVARCHAR</code>, <code>LONGNVARCHAR</code> and <code>LONGVARCHAR</code> fields. If the limit is exceeded, the excess data is silently discarded. For maximum portability, use values greater than 256.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>the new column size limit in bytes; zero means there is no limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the condition <div class="fragment"><div class="line">max &gt;= 0 </div></div><!-- fragment --> is not satisfied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a74ee124d251a1785b5ee72461d992cee">getMaxFieldSize</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00468">468</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a62eea46adeee8609b3e1a47e11aa5870"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62eea46adeee8609b3e1a47e11aa5870">&#9670;&nbsp;</a></span>setMaxRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setMaxRows </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the limit for the maximum number of rows that any <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object generated by this <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object can contain to the given number. If the limit is exceeded, the excess rows are silently dropped.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>the new max rows limit; zero means there is no limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the condition <div class="fragment"><div class="line">max &gt;= 0 </div></div><!-- fragment --> is not satisfied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a08d8bad6ab34257c4d0a110c36a78616">getMaxRows</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00500">500</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="adc015a991c336f0edea9e26c0de37027"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc015a991c336f0edea9e26c0de37027">&#9670;&nbsp;</a></span>setPoolable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setPoolable </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>poolable</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Requests that a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> be pooled or not pooled. The value specified is a hint to the statement pool implementation indicating whether the application wants the statement to be pooled. It is up to the statement pool manager as to whether the hint is used. </p>
<p>The poolable value of a statement is applicable to both internal statement caches implemented by the driver and external statement caches implemented by application servers and other applications. </p>
<p>By default, a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> is not poolable when created, and a <code>PreparedStatement</code> and <code>CallableStatement</code> are poolable when created. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">poolable</td><td>requests that the statement be pooled if true and that the statement not be pooled if false </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01425">1425</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="afe5aa6911f700fbe2437ac7a62abf507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe5aa6911f700fbe2437ac7a62abf507">&#9670;&nbsp;</a></span>setQueryTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void org.dbcloud.jdbc.Statement.setQueryTimeout </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>seconds</em></td><td>)</td>
          <td> throws SQLException</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the number of seconds the driver will wait for a <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> object to execute to the given number of seconds. By default there is no limit on the amount of time allowed for a running statement to complete. If the limit is exceeded, an <code>SQLTimeoutException</code> is thrown. A <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver must apply this limit to the <code>execute</code>, <code>executeQuery</code> and <code>executeUpdate</code> methods. </p>
<p><b>Note:</b> <a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a> driver implementations may also apply this limit to</p><div class="fragment"><div class="line">ResultSet </div></div><!-- fragment --><p> methods (consult your driver vendor documentation for details). </p>
<p><b>Note:</b> In the case of</p><div class="fragment"><div class="line">Statement </div></div><!-- fragment --><p> batching, it is implementation defined as to whether the time-out is applied to individual SQL commands added via the</p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#af006516e861bd5dff0e24771dec1abe4">addBatch</a> </div></div><!-- fragment --><p> method or to the entire batch of SQL commands invoked by the</p><div class="fragment"><div class="line"><a class="code" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a83555b48c31cedeff650c3688eb18a98">executeBatch</a> </div></div><!-- fragment --><p> method (consult your driver vendor documentation for details).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">seconds</td><td>the new query timeout limit in seconds; zero means there is no limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SQLException</td><td>if a database access error occurs, this method is called on a closed <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></code> or the condition <div class="fragment"><div class="line">seconds &gt;= 0 </div></div><!-- fragment --> is not satisfied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html#a09a3a60330f32ae3182494583e4bb18a">getQueryTimeout</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00571">571</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="abffb2fa787f9c6d14484a8d545c4a161"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abffb2fa787f9c6d14484a8d545c4a161">&#9670;&nbsp;</a></span>CLOSE_ALL_RESULTS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.CLOSE_ALL_RESULTS = 3</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that all <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> objects that have previously been kept open should be closed when calling <code>getMoreResults</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01001">1001</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="afa7b4b2c3acd383591999842acb0d6c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa7b4b2c3acd383591999842acb0d6c3">&#9670;&nbsp;</a></span>CLOSE_CURRENT_RESULT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.CLOSE_CURRENT_RESULT = 1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that the current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object should be closed when calling <code>getMoreResults</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00984">984</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="acfa84224f98ccf395c3568a0f882eb35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfa84224f98ccf395c3568a0f882eb35">&#9670;&nbsp;</a></span>EXECUTE_FAILED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.EXECUTE_FAILED = -3</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that an error occurred while executing a batch statement.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01017">1017</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="acf23cba800d36c519344e01581aedc9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf23cba800d36c519344e01581aedc9f">&#9670;&nbsp;</a></span>KEEP_CURRENT_RESULT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.KEEP_CURRENT_RESULT = 2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that the current <code><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_result_set.html">ResultSet</a></code> object should not be closed when calling <code>getMoreResults</code>.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l00992">992</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a4e6170daf48535ddaff70a77c701acdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e6170daf48535ddaff70a77c701acdc">&#9670;&nbsp;</a></span>NO_GENERATED_KEYS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.NO_GENERATED_KEYS = 2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that generated keys should not be made available for retrieval.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01033">1033</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a348a9c2612c65ebc810d3f043f382766"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348a9c2612c65ebc810d3f043f382766">&#9670;&nbsp;</a></span>RETURN_GENERATED_KEYS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.RETURN_GENERATED_KEYS = 1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that generated keys should be made available for retrieval.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01025">1025</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<a id="a2bff6ca86fe1ed08d3a52ade6b1b7240"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bff6ca86fe1ed08d3a52ade6b1b7240">&#9670;&nbsp;</a></span>SUCCESS_NO_INFO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int org.dbcloud.jdbc.Statement.SUCCESS_NO_INFO = -2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constant indicating that a batch statement executed successfully but that no count of the number of rows it affected is available.</p>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

<p class="definition">Definition at line <a class="el" href="jdbc_2_statement_8java_source.html#l01009">1009</a> of file <a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/java/org/dbcloud/jdbc/<a class="el" href="jdbc_2_statement_8java_source.html">Statement.java</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>org</b></li><li class="navelem"><b>dbcloud</b></li><li class="navelem"><a class="el" href="namespaceorg_1_1dbcloud_1_1jdbc.html">jdbc</a></li><li class="navelem"><a class="el" href="classorg_1_1dbcloud_1_1jdbc_1_1_statement.html">Statement</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
